make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 4 Jul 2024 19:53:20 +0000 (21:53 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 4 Jul 2024 19:53:20 +0000 (21:53 +0200)
commitbc280f189132a0fffcb6b78c2b9eeab68b08780b
treee9d1c84fd5434d36a0f9a6cd1cee2ea1e50257bf
parent3a847dcb65e70ca7ef9407f87d4ea8d8d5aae10d
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c